<template>
  <div id="app">
<!--    &lt;!&ndash;该标签 等价于之前的a标签   to属性等价于a标签中href属性&ndash;&gt;-->
<!--    <router-link to="/main">首页</router-link> |-->
<!--    <router-link to="/student">学生管理</router-link>-->
    <!--路由视图渲染标签-->
    <router-view/>
  </div>
</template>

<script>
import HelloWorld from './components/HelloWorld.vue'

export default {
  name: 'app',
  components: {
    HelloWorld
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
